<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1 th:text="${name}">列表名称</h1>
<ul>
    <li th:each="item: ${array}" th:text="${item}">条目</li>
</ul>
</body>
</html>